<?php

session_start();

include_once("connexion.php");
    $id_user = $_SESSION['id_user'];
    $query = (mysqli_query($bdd, "SELECT * FROM biens WHERE id_proprio=".$id_user));
    
    $sql_photo="SELECT photo FROM photos";
    $req_photo= mysqli_query($bdd, $sql_photo);
    $Photo = mysqli_fetch_array($req_photo);
    
    $query_villes = "SELECT * FROM villes";
    $req_ville = mysqli_query($bdd,$query_villes);
    $Ville = mysqli_fetch_array($req_ville);
    
    $query_pays = "SELECT * FROM pays";
    $req_pays = mysqli_query($bdd,$query_pays);
    $Pays = mysqli_fetch_array($req_pays);

    $query_types = "SELECT * FROM type_bien";
    $Type = mysqli_query($bdd,$query_types);
    
    


include_once("mes_biens.html");
?>